//一些公共方法
class common_apis{
  static isNumeric(val) {
    return !isNaN(parseFloat(val)) && isFinite(val);
  }
  static Get_badge_status_By_Status(status){
    let badge_status=["default","warning","processing","success","error"]
    if(status==true){
      return "success"
    }
    else{
      return "error"
    }
  }
}
export function utils_set(){
  global["vapp"].config.globalProperties.$common_apis =common_apis
}
